package com.it13.utils.sendemail;


public class MailSenderInfo {
	// 发送邮件的服务器的IP和端口   
	private String mailServerHost;
	private String mailServerPort = "25";
	//添加抄送地址
	private String ccAddress;
	// 邮件发送者的地址   
	private String fromAddress;
	// 邮件接收者的地址   
	private String toAddress;
	// 登陆邮件发送服务器的用户名和密码   
	private String userName;
	private String password;
	/* 发送邮件时是否进行身份验证 */
	private boolean Validate = true;
	// 邮件主题   
	private String subject;
	// 邮件的文本内容   
	private String content;
	// 邮件附件的文件名   
	private String[] attachFileNames;

	/* 其他设置 */
	private boolean restFlag = false;

	private String receiveHost = null;// 接受服务器地址

	/* 发送邮件是否需要代理 */
	private boolean proxyFlag = false;

	private String sendpartial = "true";//判断邮件发送中是否忽略掉其中的错误邮箱 "true":不管错误邮箱,只发送正确邮箱;"false":只要有一个邮箱有问题,全部邮件发送失败 

	public String[] getAttachFileNames() {
		return attachFileNames;
	}

	public void setAttachFileNames(String[] attachFileNames) {
		this.attachFileNames = attachFileNames;
	}

	public String getCcAddress() {
		return ccAddress;
	}

	public void setCcAddress(String ccAddress) {
		this.ccAddress = ccAddress;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getFromAddress() {
		return fromAddress;
	}

	public void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}

	public String getMailServerHost() {
		return mailServerHost;
	}

	public void setMailServerHost(String mailServerHost) {
		this.mailServerHost = mailServerHost;
	}

	public String getMailServerPort() {
		return mailServerPort;
	}

	public void setMailServerPort(String mailServerPort) {
		this.mailServerPort = mailServerPort;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isProxyFlag() {
		return proxyFlag;
	}

	public void setProxyFlag(boolean proxyFlag) {
		this.proxyFlag = proxyFlag;
	}

	public String getReceiveHost() {
		return receiveHost;
	}

	public void setReceiveHost(String receiveHost) {
		this.receiveHost = receiveHost;
	}

	public boolean isRestFlag() {
		return restFlag;
	}

	public void setRestFlag(boolean restFlag) {
		this.restFlag = restFlag;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getToAddress() {
		return toAddress;
	}

	public void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public boolean isValidate() {
		return Validate;
	}

	public void setValidate(boolean validate) {
		Validate = validate;
	}

	public String getSendpartial() {
		return sendpartial;
	}

	public void setSendpartial(String sendpartial) {
		this.sendpartial = sendpartial;
	}

}
